import request from "./request";

/**
 * @description: 获取自助终端区域
 * @return {*}
 */
 export function getTerminalRegionsAPI() {
  return request(`map/getTerminalRegions`, 'GET')
}

/**
 * @description: 根据自助终端区域id获取终端地点 
 * @return {*}
 */
 export function getTerminalRegionMapAPI(data) {
  return request(`map/getTerminalRegionMap/${data}`, 'GET')
}

/**
 * @description: 获取乡镇便民服务中心 
 * @return {*}
 */
 export function getCountryMapAPI(data) {
  return request(`map/getCountryMap`, 'GET', data)
}

/**
 * @description: 获取村(社区)便民服务站区域
 * @return {*}
 */
 export function getVillageRegionMapAPI() {
  return request(`map/getVillageRegionMap`, 'GET')
}

/**
 * @description: 获取村(社区)便民服务站子区域详情
 * @return {*}
 */
 export function getVillageRegionChildMapAPI(data) {
  return request(`map/getVillageRegionChildMap/${data}`, 'GET')
}